﻿<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
    <title>{$tkd.title|parseTpl}</title>
    <meta name="keywords" content="{$tkd.keywords|parseTpl}">
    <meta name="description" content="{$tkd.description|parseTpl}">
    <meta name="author" content="www.ptcms.com">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width" />
    <meta name="applicable-device" content="pc">
    <meta http-equiv="mobile-agent" content="format=html5; url={$kx.config.mobileurl}__SELF__">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <meta http-equiv="Cache-Control" content="no-transform" />
    <link rel="canonical" href="{$kx.config.pcurl}__SELF__" />
    <link rel="stylesheet" href="{$kx.config.resurl}/template/kxwebno3/css/search.css"/>
</head>
<body>
<div id="wrapper">
    <div class="header">
        <div class="header_logo">站内搜索</div>
        <div class="header_search">
            <form action="{link=novel.search.result}">
                <div>
                    <input type="text" name="searchkey" placeholder="可搜书名和作者，请您少字也别输错字。" class="search"  id="txtKeyWord" value="{$kx.get.searchkey}" maxlength="30" title="请正确输入"/>
                    <input type="submit" class="searchBtn" value="搜索" title="搜索"/>
                </div>
            </form>
        </div>
    </div>
    <div class="clear"></div>

    <div id="search-main">
        <div class="search-list">
            <h2>
                <a href="/">首页</a>> 搜索"{$searchkey}"相关小说
            </h2>
            {block method="search" name=result searchkey=$searchkey page=$page num=$pagesize}
            {block method="pagination" name="paginate" page=$page limit=$pagesize count=$result.count maxpage=50 section=3}
            <ul>
                <li>
                    <span class="s1"><b>作品分类</b></span>
                    <span class="s2"><b>作品名称</b></span>
                    <span class="s3"><b>最新章节</b></span>
                    <span class="s4"><b>作者</b></span>
                    <span class="s6"><b>更新时间</b></span>
                    <span class="s7"><b>状态</b></span>
                </li>
                {if $result.count > 0 }
                {section loop=$result.items item=$loop}
                <li>
                    <span class="s1"><a title="{$loop.category.name}" href="{link=novel.category.list categoryid=$loop.category.id key=$loop.category.key}">{$loop.category.name}</a></span>
                    <span class="s2"><a title="{$loop.novel.name}" href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" target="_blank">{$loop.novel.name}</a></span>
                    <span class="s3"><a title="{$loop.last.name}" href="{link=novel.chapter.read pinyin=$loop.novel.pinyin novelid=$loop.novel.id chapterid=$loop.last.id}" target="_blank"><span>{$loop.last.name}</span></a></span>
                    <span class="s4">{$loop.author.name}</span>
                    <span class="s6">{$loop.last.time|date="m-d H:i"}</span>
                    <span class="s7">{if $loop.novel.is_over}完结{else} 连载中{/if}</span>
                </li>
                {/section}
                {/if}
            </ul>
        </div>
        <div class="clear"></div>
    </div>
    <!--底部版权-->
    {include file="/system/footer"}
</div>
</body>
</html>